MDL-40551 badges: Support fully deleting badges