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