Sorry, but no, it still doesn’t work 
Accidentally, the source data was aligned with the resampling, but now it’s shifted again and the first few seconds of each interval are not taken into account in the query.
So it seems that even though you’re limiting the data to 3n-1, it’s still providing output for that bucket?
