Fixed MidiSostenutoPedal logic.