Fixed fatal bug with adding siggroups.