Fix issue with lifetime of MultiIndexBlock and asserts.