small tweak to search criteria. Put all text (criteria and name to check against) .tolower to avoid Glen and glen not matching