That doesn't eliminate all the problems, but more than half of all the Congress-critters hitting on the pages in the past have been gay blades, so that gets rid of at least half the problem.
That, or be on the lookout for and enforce laws against pedophiles.