Fixed hashing related bug.