Fixed editing Group. No duplicate groups allowed