Jerks at work cause all sorts of problems. It is worse when the jerk is your boss. But, ultimately, the jerks will cause enough issues that most employers would agree they need to go. The good news is that according to at least one source, the nice boss gets his/her way more often that the jerk boss.
In one study, many women reported they would prefer to work for a male supervisor than a female supervisor.