I suspect that's why they are usually contractors, not employees.
Why would fire a good employee for something as stupid as sex or age?
Yes, there are people who would do that, but if they're that brainless I don't think their business is going to be long-lived.