Minor code cleanup in search results.