Preventing orphans
Ensuring badge category integrity