Calendar: Update isInRange() conditions.