Fix bug in suggester tab event when input box is empty.

Before the bug fix, the input box would always be filled in with
the previously selected menu item, even if the user just cleared
the input box.