Judgment macro resolves to wrong spell id

I have a arena123 macro for judgment

#showtooltip
/use [mod:shiftctrl,@arena3][mod:ctrl,@arena2][mod:shift,@arena1][mod:alt,@focus][]Judgment

It seems sometimes when entering battlegrounds this macro breaks. I’ve seen this happen in ashran and wintergrasp. When I try to use the ability it says “Spell not learned”.

If I put the spell from my spell book on my bar I can use it. The spellId from my spell book is 275773. The macro resolves the “Judgment” spell as spellId 275779.