Fix relational equality with NaN.