Fix incorrect equality checks.