Attempting to optimize the search.