Pennsylvania Sex Offender Registry

Gov. Tom Wolf / Flickr

The General Assembly has passed a second version of a measure designed to fix a hole in Pennsylvania’s sex offender law.

The issue dates back to a state Supreme Court ruling last year.

Justices ruled the state couldn’t impose punishments on offenders whose crimes had happened before those penalties were enacted.

That had a potential side-effect of knocking more than 10 thousand offenders off the registry, according to state police.