Some fix for tree position restore if it empty