Fix operator in check condition of range partitions. Thanks to Kaissa Chellouche for the report.