Agreed and crap like this is half the reason why some companies do not care to hire some women, or why a lot of men and a certain amount of females do not even want female supervisors.
Same reason some don’t want to hire minorities cause if they turn out to be a bad employee and need to be fired, they scream racism and sue so why bother to hire in the first place.