Fixed marginal tree traversal problem.