Prevent the loop from running if we lack a child.