Fix error saving group.

Change-Id: I21e5f0ceb414cbce1ae870ffae385c52350b111a