             # And the URL suffix (which must contain the query part) matches the current query.
             RankingUtils.matches queryTerms, suggestion.url[engine.searchUrlPrefix.length..])
 
+    previousSuggestions =
+      for url, suggestion of @previousSuggestions
+        continue unless RankingUtils.matches queryTerms, suggestion.title
+        suggestion.relevancy = null
+        suggestion
+
     primarySuggestion = new Suggestion
       queryTerms: queryTerms
       type: description

    cachedSuggestions =
      if haveCompletionEngine then CompletionSearch.complete searchUrl, queryTerms else null

    suggestions = []
    suggestions.push primarySuggestion if custom
    suggestions.push cachedSuggestions.map(mkSuggestion)... if custom and cachedSuggestions?


class SearchEngineCompleter
  @debug: false
  searchEngines: null
  previousSuggestions: null

  cancel: ->
    CompletionSearch.cancel()
