Fix for search result navigation issue.

There is an issue while navigating among the search result pages. After updating a record on a certain page always takes back to the first page. An example scenario to understand this issue is:
a) Make a multipage basic search. 
b) Move to another page, let say page 4.
c) Open a record on page 4 for editing.
d) Edit and save.
e). Return back to the results by using the RESULTS link on the left top side of the page.

The return request should take back to page 4 whereas it returns to page 1. The fix we provide in this pull request solves this problem.