Fix InfluxDB query to latest