I tried, with keystrokes it works, with midi not.
Seems like a bug. I find a solution with Keystrokes.

But the Midi bug should be fixed

Andreas