Fix setting of the shared group.