Henry Baker's contribution of 2013 July
Merge pull request #21 from inabajsk/fix_remove_duplicates_with_hash

Henry Baker's contribution of 2013 July