fixed issue where note-offs would be ignored due to a bug in the polyphony->monophony conversion