Flattened view fix.

could have been something like: max(($trees.Order, 1)) + 1
but its good like this