Removed FindDuplicates() function
Improved first cleaning