Fixing bug when there are missing entries in the time series for a given generator