fixed call to createFilterFn in onTypeAhead