check for empty search results