Fix MixedDat.inner and add test