Fix bug in typeahead when selecting a no string value like an Object or ...

...a Number