Revert "JAMES-2586 Add index for thread table" (#2537) This reverts commit 194832f1ba30df2ef260e7f64c9b4fc020709fea.