Pedophiles are usually released, if at all, under lifelong rules regarding contact with children.
My personal opinion is that if we plan to restrict the prior rights and privileges of a person convicted of a crime, then the sentence should be explicit in that regard. For example (just making up the numbers for an example):
To be confined for a period of 10 years in prison, and made to pay a fine of $10,000 regardless of how long it takes, and to be stripped of the 2nd Amendment right to bear firearms for life, to be stripped of the privilege of voting for life, to be restrained by court order from contact with the following individuals for life, to not consume alcohol for life, to not drive a car for life, ...... and so on, whatever the sentence may be. Make it PERFECTLY CLEAR that the perp does not revert to normal citizenry, even at the end of incarceration or completion of certain other parts of the sentence.
I see nothing wrong, and everything right, with making ALL conditions of penalty and punishment absolutely clear during sentencing.
It would save a lot of subsequent trouble, such as in this unfortunate instance.