Correction to MDI handling.