in the form, the labels are using "Contact_Us_group" instead of "Contact_Is_Group"
change:
<?php echo(str_replace("_"," ",str_replace("Contact_Is_Group_", "", $pkey))); ?>
to:
<?php echo(str_replace("_"," ",str_replace("Contact_Us_group_", "", $pkey))); ?>