Fixing problem when searching for more results than returned first time