It seems like the gcode change by SetAndWait adds the tool that's used, but without checking if it's a single extruder system.
Send: M190 S85
Send: N124 M104 S250.0 T4*59
Send: M109 S250
Send: N125 G28 W*98
Recv: ok
Send: N126 M105*34
Recv: echo:M104 Invalid extruder 4
T4 reported as invalid, reverting to T3
Recv: ok
Not queuing T3, that tool doesn't exist according to the printer profile or was reported as invalid by the firmware
Send: N127 G80*21
Original gcode is "M104 S250.0" without the Tx.
The effect is OctoPrint removing filament switches after this trigger.