Fixed formatting when a node is deleted in the middle of a sequence