Accusations of racism caused both cancellations.