Hotfix: if the user did not specify removeDuplicates for a search then ssearch would fail to create the pipe.