Fix bug.

Don't add a branch from the root for the terminal character.