[REVIEW ONLY DO NOT MERGE] Exportgroups

Is this check correct? Don't you need to check at least one enabled and go through all?