Added previous pagination to the search results.