Rhino V6 SR13 / RhinoCommon

Let’s say I would like to divide an open curve into a fixed number of segments (i.e. 10) of the same length:

Curve workingCurve;

…

Double curveLength = workingCurve.GetLength();

Double segmentLength = curveLength / 9.0;

Calling

Double curveParams = workingCurve.DivideByLength(segmentLength , true, false);

I get 10 curve parameters, and that’s ok.

But if I call

Double curveParams = workingCurve.DivideByLength(segmentLength , true, true);

I get 9 curve parameters!

Is this a bug?