Fix smart group naming errors.