Fix for badges plugin breaking everything

Oops.