You might be importing these users with the identities.connection
already referencing your old-database-connection
.
You should either export these users without the identities.connection
array or manually remove it after export.
Then, during the import, you can select which database these users should be imported to, and the old-database-connection
will not be included.
Thanks,
Rueben