Fix checkpoint for last position.