Prevent crash when user attempts to create a group with a name which already exists.