Fix typeahead search