- Added checkDuplicates for hashes