bugfix for the search result paging