Fix off-by-one when computing # of days in range