How the cereal brand courted — and then avoided — controversy.