Law would prevent dangerous and long-term offenders from cha