fix(typeahead): correctly higlight numeric matches

Fixes #1777