Cutoff data when querying by something other than ts