Fix the upgrade of contact group data
Merge pull request #221 from aseques/upgrade_contacts

Fix the upgrade of contact group data