Handle primary user group correctly