Debug it with the query inspector. I bet your last value is a string and not an number. "28" (string) is not the same as 28 (int). The best option is to check field type on the InfluxDB level.
1 Like