Fix ctl regression.

Fix ctl to correctly compute the number of children at each level of the
ctl tree.
2 files changed