Delete corresponding offices and contests when deleting district types or districts