Fixed an issue saving groups with no members or rules