I don't think Cassie is being replaced because she's a female, but because she has horrible judgement. The only reason she was the leader after Robin left is because she's the most recognizable character in the book, not because she was the most competent choice.