private function getHandlerValue(DocumentRepository $repository, $fieldPath, array $handlers)
    {
        $nodes = [];
        foreach ($handlers as $handler) {
            if (!self::$handlers[$handler] instanceof HandlerInterface) {
                throw new \LogicException(
                    'Specified handler "'.$handler.'" is not registered with RestrictionManager!'
                );
            }
            $value = self::$handlers[$handler]->getValue($repository, $fieldPath);

            if (!$value instanceof AbstractQueryNode) {
                $value = new EqNode($fieldPath, $value);
            }

            $nodes[] = $value;
        }

        return $nodes;
    }