Fix a bug when deleting campaigns