The law closes a legal loophole that allows criminals to avoid registering as sex offenders. It goes into effect Sept. 1.