[Parser] Fixing expNode::updateNewVariables()