Fixed double pointer bug in add_group().