Fixed autoManageGroups (partially)