Fixed assert in Node::deactivate