Made hash equality test less terrible