fixed bug preventing group from being displayed in UI
empty groups should not be considered when deactivating groups