Your post points out why (in a pragmatic way) more women are needed in management: it makes it hard for bad female employees to claim sexist treatment when they are justifiably written up or otherwise disciplined (or, "counselled", as some HR departments like to say).
Personal anecdote (my cool story, bro): At a previous job of mine, I had the experience of a new manager coming in after I had been there for a year. She was the first female manager for that unit, and she was tough. A compliment from her for good work consisted of a quick nod, but screwing up got you chewed out. It was a bit of an adjustment for me from my previous manager, but since I did a decent enough job, I didn't have much trouble. The substandard programmer who skated by under the previous manager because she was hypersensitive to criticism and he was afraid of a lawsuit was gone. Quickly. About a week after that, the guy who capitalized on having gone to the same college as the previous manager instead of debugging code was gone, too. The order was critical, it turned out. It was hard for the guy to claim sexism when the employee fired before him was female.
About the "previous job" part: When the project I was working on was completed, and the pink slips started landing, the new manager gave me a glowing letter of recommendation. She wasn't effusive with praise in the normal course of operations, but she was efficient and appreciated employees that generated minimal drama. That showed in the letter.