Develop a sense of humor and thick skin regarding insensitive comments at work, drawing the line when it really matters.
Sometimes being a little “deaf” is the right answer. You can go around in this life looking out for every insult and snide comment. You can hang onto every time you’ve been wronged and investigate every case of possible bad faith. Or you can tune it out, be a little deaf to it and let things go. Not stupidly of course, not completely or utterly forgetful, but just enough that you can get along with people and function above the fray.