The FBI has had a history of sex discrimination complaints brought against it, as well as race discrimination.