Fix search query reset when fetching additional results.