TEIIDDES-1624 widened the isDisposed() check
TEIIDDES-1623 added creating text node if parent is Function and object is Constant to preserve tics ' '