add missing comparisons for gt.