Has the data been imported manually or is there a system pushing data?
To rule out the basics, have you checked if its not pushing same data multiple times? It could be that it exported 38 times and system rightly processed one of them and marked the rest as duplicates.