Fixed equality tests.