Fix rooted tree constructor to fill the :children field