The offered solution:  Add condition when the tree is created. Thank you