Fix equality test.