Fix bad character for date range