Setting page back to 1 when number of results per page is changed