Of course you have to have measure to protect the phsyco vengeful mother wrongly acusing her husband just to get more money or get back at him for cheating on her.
Unfortunately, yes. You also have to understand another impact:
Many women are unwilling to turn in their husbands (or the child's grandfather/uncle) for molestation knowing it carries a mandatory 25year charge. They mistakenly think they just want to "put a scare" into the guy- and that once he's caught, they'll get counseling and be a happy family again.
So you have to be careful with mandatory sentencing laws-- because you can actually DETER punishment at an early stage (i.e. at the first indications mom takes action rather than after its obvious the damage has been done).
You also have to realize that 90% of the molestation cases are these family-type situations which are incredibly complicated-- only a small number are the "sicko down the block/billionaire pop star" variety. Any family court judge will tell you that the ONE place judges need discretion is in these family situations.