Duplicate contacts in icloud.com
All contacts are duplicated in my icloud account (both on icloud.com and on my phone). I have deleted duplicate groups, but the contacts themselves are still duplicated... Any hints on how to resolve this (too many to do this manually).
Additionally I have an odd thing going on where when looking for a contact card in the contacts app on my phone the contact is missing, but when I search for the name in the general search it will appear and can then be opened.
Thank you
iPhone XS