make sure that search results that need to be generated go to the front of the list