Added some nice-to-have DB compound indexes
- Especially for comment queries during the PR post-process step
- Also some slight code cleanup and more explicit naming