Added check to not search if the search is a an extension of a search that resulted in no results.