Data Integrity issue - duplicate IDs

Per another issue posted by me: ACW: delete bulk import doesn’t delete all encounters, the incomplete delete of a bulk import, plus it’s re-import into ACW and re-Id’d might be a cause of the duplicate ID issue?

Examples and details are provided below, from the other ticket:
@Anastasia - this user has just pointed out to me that he now has duplicate individuals in the system so I think we may have found the (or at least a?) source of that issue?
Here are 2 examples of duplicate IDs from this user’s data:

and

Hope that helps!
Maureen