fixed typeahead not clearing after match when tab is used

Signed-off-by: buckie <wjmartino@gmail.com>