fixes #5553: FiltersHelper#search_path returns an empty string for unrecognized resources