Both Saturniidae and Mantises have higher numbers of offspring, so you're more likely to get close to 50:50. You just happened to get a poor representation of the normal ratio due to small sample size. You can sex them once they're second instar, but it's easier to with third instar larvae if you'd like to get an idea of what ratio of sexes you have before they're pupae.