Fix subcategories links from search
Merge pull request #1960 from verg/subcategory-search-links

Fix subcategories links from search