Fix the editor crash which happens when XSD cardinalities do not allow anymore element
Fix the editor crashes which happens when user tries to add a new child node and cardinalities do not allow anymore element of this type