BUG-8043: correct RangeConstraint definition