Improve the match method from UserTypeahead, now returns Number