Merge pull request #222 from mslehto/tautological-compare