It seems to me that the DRG/MNK one is working as intended and the others are not. You could consider having the Gearset commands be in the same hotbar slot for alternate Jobs, or you could have shared hotbars containing all of your Gearset commands. However, as there is no support for conditional commands or commands for setting a macro to a hotbar slot, there does not seem to be a supported way to have one macro reliably alternate between Gearsets.