BUG: mi indexing bugs (GH7399,GH7400)

closes #7399
closes #7400