Fix range chars

Replacement for #189