Fixed problem with changing tree node by node