Yep, can confirm. I was aggressively recruited for education as a math undergrad. There was no way that was going to happen, too many people view male teachers as inherently predatory.
Was it because you were male or because you were studying math? Many schools struggle to find good math teachers; it's one of the qualifications in perpetual shortage.
I absolutely hate this. It's the same in every field in contact with kids. When I was a youth camp counsellor, a director told me after stuff happened with other counsellors "at least now, I'm sure you are not a predator" (translation here). I know it was a joke, but the place and the way makes are sometimes seen in the field genuinely hit me hard. I remember the sentence and the director face as she said it better than the other counsellors and the overall situation.