Added function to clean up non-keyword search results pages