bugfix for occasional influxdb test failure, with empty time series