Fix to formatting leaders

Fix to formatting leaders when insert and delete tags are present