Allowing multiple groups for name matching