Fix duplicate contacts