Result from method lessThan and lessThanOrEquals are switched. Same for method greaterThan and greaterThanOrEqual.