Could be that the producers inserted what they believed would be a "politically correct" comment in a scene reflecting a current, real-life hot topic.
I have noticed this technique many times----TV and movies are famous for going out of their way to ensure politically-correct dialogue, behavior and point-of-view on a current topic.
(Except in this case they are dead wrong.)