Simplify filterSuggestions logic

We don’t need to know the key pressed, just the word (or word fragment)
they are currently in