Explicitly check that input dates are within range