Issue #6: changes related to fix problems found when editing a node in task tree.