Thanks for this beautiful module. It appears to fit my requirement very well. However, I found a seemingly strange issue today.
Here is a screenshot of the problem - Should be self-explanatory
ts.range appears to give incorrect values for the same timestamp in some select keys. The actual value I tried to store is -6.56. Please let me know why this is happening. This is driving me crazy in an otherwise nice module.