fix bug: when none record matches middlename, get_matches will return all records which firstname/lastname matches without checking middlename