Fixes non-relevent subcategories from showing when searching