Exactly. Being attracted to children isn't something a person chooses. It's essentially a fetish, although one that no one should ever partake in. Anyone who wants to get help to make sure they never act on it should be able to, especially since a decent chunk were victims themselves.
But once they act on it, they're predators who need to be dealt with to the full extent of the law.