fix mixed operand equality dealing with null