bug fix: query threads need to be sorted by tags then by base time - otherwise will result in
  a separate result per index key
latest docs
latest docs