Fix a bug when saving group settings for group 1