fix tree menus after changing from clone to primitive and to m/s

fixes also:

java.lang.ArrayIndexOutOfBoundsException: 1 >= 1
1 >= 1
java.util.Vector.elementAt(Unknown Source)
javax.swing.tree.DefaultMutableTreeNode.getChildAt(Unknown Source)
javax.swing.tree.VariableHeightLayoutCache.treeNodesChanged(Unknown
Source)
javax.swing.plaf.basic.BasicTreeUI$Handler.treeNodesChanged(Unknown
Source)
javax.swing.tree.DefaultTreeModel.fireTreeNodesChanged(Unknown Source)
javax.swing.tree.DefaultTreeModel.nodesChanged(Unknown Source)
javax.swing.tree.DefaultTreeModel.nodeChanged(Unknown Source)
lcmc.gui.Browser.nodeChangedAndWait(Browser.java:180)
lcmc.gui.resources.ServiceInfo.changeTypeToPrimitive(ServiceInfo.java:2565)