handle null values for isInclusivelyInRange, isBetween, isGreaterThan, isGreaterThanOrEqual, isLessThan, isLessThanOrEqual