Steps to reproduce: 1. Add a gantt view to a form and add two buttons, one for adding a new child to the selected item and one for removing the selected item. 2. Run the project and add child items to a normal task item - the item should become a summary item. 3. Remove all the child items of a summary item - it should become a normal task.