Only search when new term is entered

Not all key presses change the search string (arrow keys to move the cursor, or `CMD + A` to select the text, for example), so we shouldn't queue up a new search unless the actual search term has changed.