TS-3097  Further simplify the comparison operator