Reset page number when number of results per page is changed