Fix group creation and joining.