Ardour is finally scanning the Amplitube VST3 successfully, but MIDI input isn't working

Ardour 9.5 is finally scanning the Amplitube VST3 successfully, but MIDI input isn’t working. On the other hand, the VST2 plugin is handling MIDI correctly.