Fixed error with setting values in a group