Container assumes the children attribute is not None

Thanks to @SylvainCorlay for pointing this out.
resolving conflict