[Fix] The last node should not be deleted.