Remove trailing checkpoints when user does some editing on the current chackpoint