fix #17906: chord MIDI input is fixed

This should fix http://musescore.org/en/node/17906 - I'm new to MuseScore source code, this may not be the best solution