TimeSeries.append: fix zero-length array append