Fix always-hashing logic.