Now automatically selecting the root node of a data source if it has no
child branches.