Equals method used in HashCache was inconsistent.