Fixed a bug where accepted names weren't being checked to see if they were identical to the name being searched for.