Fix deletion removal

Fixes a couple minor issues with not deleting badges.