Fix mistake in curve_knot_insert