make copy_group_data work a little better
Merge pull request #294 from dimagi/copy-group-data

make copy_group_data work a little better