Transformer Question

If Cubase reports an “overlapping pitch” caused by a repeated MIDI note_on, would it be possible to issue a note_off for the previous note_on using the “Transformer”, or any other function in Cubase? This would solve the problem that Cubase cannot receive Note Off messages from Kontakt. Thanks in advance for any suggestions.

The problem is solved.