Fixed problem with translation of inputs/outputs to tree.