Fixed "child-parent" problem with gentrans output.