retain previous search, searchresults page works properly now