Fixed errors related to TorrentNode::reset()