Fix sp-skip-closing-pair when it is called just after `insert` operation