Fix so size constraints generate ValueSizeConstraint instead of ValueRangeConstraint.