I recreated the database and reimported it. It worked.
No duplicated users. Thanks everyone.