Fixed bug with publishing badge

Now you can really publish those suckers!