Guard against bad search results.