True, and i think you're right but just to point out, child predators can attack or assault kids of the same sex or both sexes and/or still have intimate relationships with people of the opposite sex. What makes a predator "attracted" to harming a child may not be linked to their adult sexuality. For example, 70% of molesters who assault boys classify themselves as heterosexual in their adult relationships. 9% say they are both. Only 8% only homosexual.
Regarding pedophiles, 21% of those who molest boys, also molest girls and 53% of those who have molested girls, also molest boys.
https://www.childmolestationprevention.org/pdfs/study.pdf