Dialer & Contacts app display duplicate (WhatsApp) Issue: When searching in dialer or contacts apps (From Google Play store, latest version) many contacts show up twice. Only contacts with WhatsApp (or more times if more phone numbers stored under the contact have WhatsApp enable)

https://contacts.google.com online show only one Contact. So no "real" duplicates. 

Manual Fix, (one by one): When I edit &amp; save the contact the contacts are now "merged" like it used to be.  

This is a new phone and WhatsApp data was restored from Cloud backup. 

Same issue:


WhatsApp contacts doesn&#39;t merge with Google Contacts
Exact same contact shown twice
https://github.com/WhisperSystems/Signal-Android/issues/4191
https://forum.xda-developers.com/2015-moto-g/help/contact-duplication-phone-dialer-app-t3662691
https://forum.xda-developers.com/galaxy-s6/help/duplicate-dialer-t3182676


Attempts to fix


Customize the view in contacts app is not a solutions. 
Cleared the Contacts Storage data


Any suggestion how to fix it without manual touching all contacts?
I solved this issue by editing all my Google contacts to make sure they contain full country code and no dashes or spaces between the numbers. In the Google Contacts landing page (web) they will all look OK but once you click edit you might find some with the incorrect format. Doing this will enable the Dialer app to link the mobile and Whats App contacts correctly. I know this is still a tedious manual fix but it is the only one I found to work.