Fixing duplicate contacts