IsLessThan and IsLessOrEqualTo implementation