No, it's not a bug.
When Juggernaut switched to Nidoqueen, it activated Payback's effect. In which it doubled Payback's power. But, when you used Payback again, this time you're faster and Juggernaut is not (nor is he switching), so your Payback will do neutral 60 Base power damage.






















