Fixed bug with error in search going to previous search results page.