Base registering subcontainers on $is_inheriting, not has_parent