Fix bug where group name could not be set

#51