Added get_bound_children.
Fixed logic in get_bound_children.