minor bug fix to hash comparison
Merge pull request #7 from harlo/master

minor bug fix to hash comparison