Fix: Prevent crash if timeseries object contains bad state