Therein lies one of the problems. The judicial system has become more focused on warehousing accused criminals by the bulk, however petty the offense may be or if at all, than it is about addressing problems with real solutions.
It doesn't help at all that the NYPD seems to continually put badges on morons to supposedly keep the streets safe.