Modwheel causing repeated notes

I just edited a long sequence with a rising filter using my modwheel on the synth.
it works ok, but if we hace C---------------- F------------, then when it reaches the F and if it write a M on that line, and the 2-3 lines before the F and 2-3 lines after the F, the F note will start triggering on every line after that. yes i can reproduce it. i worked my way out of it, by manking sure not to “ride over” the notes that came longer down. i only changed modwheel direct on the note, or on empty space