Fix off-by-one-day error.