Bugfix: in choose_child, only default after testing all weights. Never affected any run because only affects nodes of arity >= 3.