Fix empty data when timeseries - #737