Time filter working

I am using the following query to plot data

SELECT logTime as time,
analogValue as value
FROM
myTable
WHERE
$__timeFilter(logTime)
ORDER BY logTime ASC

When I select a time range from the drop down, it gives me the entire month regardless of which range I pick. The only thing that works is the absolute time range which is super inconvenient. I’m using UTC time zone since the time is coming in as UTC instead of the server time

What am I missing?