Fixes contact list issue with duplicated contacts.