sanity check for search result length