In SmartClient version 7.0rc2, an issue exists whereby if hierarchical data is loaded dynamically from the server, if a node has its parentId property set to zero, it can be added to the root node rather than to the node whose Id is set to zero.

This has now been resolved in SmartClient's internal codebase. Here's some patch code to resolve this issue if encountered: