MSC: Crash when adding a new document
'Steps:
- Create a new document
- in the treeview change the "Untitled_Leaf" to type "OR" (using the context menu).
- In the hierarchy view select the "Untitled_Leaf"
- In the toolbar Click on the "Leaf" icon (to add a new leaf type child)
-> Crash