Try replacing the "because they were male" with "because they were black" (or white, or whatever). Then maybe you'll get it.
What I get is that you are trying to sanitize a joke on the basis that someone is getting offended. Using that same argument "sanitizing" becomes a tool, a tool that removes discussion or enlightenment in favor of mass produced clean templates of what you should, think, say or joke about.
I thought that the movement you seem to uphold had the opposite intention.
So you think changing this limerick to be racially-based would be okay, right?
Also, what "movement"?! That's a new one on me.
Yes.
I think a limerick is "a kind of humorous verse of five lines". It can portray any kind of -phobic you like, be it racial, sexual, nationality, etc... The subjective value of it for whomever reads it can go from amusement to repulse, or any state between or beyond. However, if a particular group of people finds it repulsive and lobbies for its censorship it becomes something else it isn't. If that that particular group holds state control and enacts active censorship it's a close step away from active removal of opposite views. And that's what I cannot cope with. Sanitizing limericks is a form of unwarranted censorship, if that becomes viewed as "normal" we are a step away from active censorship, and then a step away from removing whomever thinks otherwise.
I suggest you study the various results of such actions.
The "movement" reference was taken from a reply you made that involves a political stance, I'm afraid I have no time at this moment to quote it accurately.