fixed for tree updates for invalid model elements