Fixed issues with creating a new group.