I actually fixed this by moving the "/gearset change 2" to the second line, rather than having it at the bottom. The problem was that when I switched to PLD PvE gearset, the removal of the abilities command was triggered too early (and therefore it removed the 3 abilities from the current set before switching to PLD PvE).