Fix caluclation of year in _interval_to_oldest_datetime().