It would seem that adding “combat” as a reset removes the bug. Since it only ever appears after several mobs in quick succession, this effectively solves the bug.
I’m puttin the macro here in case anyone else comes across the issue, and I will update the post if I find out the fix actually didn’t work: