Fix false positive when re-rendering a node with undefined canHaveChildren.
Build treeview.
Update history.