I disagree. I don't doubt that racism existed at the time, but why alienate a portion of the audience on a throwaway line or lines from a character that isn't seen before or since? I would hardly call the scene unrealistic without the slurs.