Handling contributions with deleted categories