Fix task date ranges