Launch Character Interrupted by Set Movement Mode 'Walking'

I’m trying to work around a problem using blueprints. Right now I have a fly system where when I push down ‘F’, character movement is set to fly, and upon release it’s set back to walk. I also have a boost when I push down ‘R’ it triggers the ‘Launch Character’ function in the Z direction. The problem is I want to be able to use the fly and boost together, however when I do a boost and then press and release ‘F’ quickly, it switches back to walk and messes up the physics of the ‘Launch Character’ function. Any ideas for workarounds? I’ve tried to use some Booleans with delays, but it’s not very smooth.