Handle null ParentNode in VariableEliminator.