Lawmakers OK tweaks to criminal justice revamp