Fixed quick/advanced search returning pages you didn't have access to.
Fixed always showing the Pages tab in advanced search even if there were no results.
Fixed weird display if there were no results in advanced search.