Fix bug where a prefetch request with zero search results would error.