Several things or options.
Set the project tempo as slow as you want to record MIDI. Simply change it to the faster tempo to play back MIDI.
Midi does not care about such things and will play perfectly regardless.
You could also use auto punch in/out to record just a small and specific part. I use this all the time to fix mistakes and flubs in both midi and audio.
You can easily edit midi manually in staff or PRV with your mouse. Speed doesn't matter.
Record ALL your audio tracks last.....DO NOT....I repeat....DO NOT record ANY audio tracks until you have finished completely with the midi tracks and are ready to let them play at the proper tempo. Audio does NOT handle the tempo (or pitch) changes as well and as easily as midi does.