fixing a bug in the paginated search results