fixed tree node navigation bug (when stepping up empty sub-trees)