I wasn't offering my opinion as a definite solution but i do know in the past the seventh has been caused by the realtrack playing the way a guitarist would play faced with a certain set of chords and a specific progression. this might just be something similar which is why i wondered if it happened with midi.