CYKLO-981: apply CmsPathFilter only when browsing tree. When displaying
search results, it limits the results too much.