Fixed issue in CompositeSpline.