ixed influxdb issue with raw query that caused wrong value column detection (Fixes #504)