Fixed date range error