Fixed the open search file for pages in "subcategories"