Fix dimensionality bug in MDA execution.