better indexing on submissions table