When in a ProbNet a node is changed its NodeType, e.g., if we change the NodeType to a node of type DECISION,
In the probNet variable, the node appears with its new type, but if the following code is executed
List<Node> decisionNodes = probNet.getNodes(NodeType.DECISION);
in the list shows up the node that previously was a DECISION and now is of CHANCE type.
It seems that the NodeTypeDepot class is not updating the nodesHashMaps variable accordingly.