Havent watched SP but humor changes.
There was a time when joking about racial stuff was funny.
In the earlier days a german sweet called “Schaumkuss” (marshmallow glazed with chocolate) was called a “Negerkuss” (transl.: Nigger’s kiss)
At the time it was appropiate.
Culture and humor is always changing. You could make as many terrorist jokes as you wanted but queue 9/11 and suddenly you had to be careful about the target group and culture.
Europeans would maybe smirk at 9/11 or terrorist joke (maybe not even those since the IS attacks in Paris, Brussel, etc.) but an american would knock you a peg deeper into thr ground.
Also this all depends on the context.