Fixed has_children dependency.