Make sure that the hasChildren exists in the last batch