Return type of historical time series function has changed