When modifying a Curve object's points, its animation data is updated to ensure that changes in point index are reflected in the F-Curve data paths. This already worked fine for pre-existing Curve points, but didn't happen correctly for points that were newly added since entering edit mode.