Thanks for the replies all!
@phaedrux that was it! Thank you very much. This condensed my macro down to this:
G91 ; relative positioning G1 Z50 F360 ; lift Z by 50mm M98 P"/macros/print_scripts/goto_front_middle.g" ; move to front for filament change M291 P"Change and purge filament. Resume when after complete." R"Mid-print Filament Change" S2; G0 Z-50 ; drop back down to printing height G90 ; absolute positioning