private function buildManualResult(CollectionItem $collectionItem, Iterator $queryIterator): ?Result
    {
        if (!$this->visibilityResolver->isVisible($collectionItem) || !$collectionItem->isValid()) {
            $queryValue = $this->getQueryValue($queryIterator);
            if (!$queryValue instanceof CmsItemInterface) {
                return null;
            }

            return new Result($collectionItem->getPosition(), $queryValue, new ManualItem($collectionItem));
        }

        return new Result($collectionItem->getPosition(), new ManualItem($collectionItem));
    }