Fix tautological comparison.