Small change adding nodetype in getChildren calls
Passing distributions id in edit dataset