iCloud contacts duplicated and no longer sync with Mac
After upgrading my Macbook to Catalina, my contacts got duplicated. On the Mac if I use the Contacts app to look for duplicates it reduces the 26,470 contacts to 992 contacts. But these iCloud contacts aren't syncing properly with iCloud because the Contacts app on the Mac starts to redownload the contacts and I end up again with 26,470 contacts.
Deleting contacts on the Mac does not replicate to iCloud.com. I've tried signing out of iCloud on the Mac and signing back in with no change. I also tried just disabling on Mac for iCloud not to sync contacts (this removes the contacts from Contacts.app) and then when I choose to sync iCloud contacts on the Mac the same behaviour is seen.
Adding a contact on the Mac does not show the contact in iCloud.com. Also the Contacts.app starts to hang and I have to end up doing a force quit. I imagine it's due to the large number of contacts.
Thanks for any help.
I've backed up my contacts. Is there a way to reset contacts or reset sync? Or have other run into similar issue and have a solution.
MacBook