codeintel: Add missing indexes
Created by: efritz
This shouldn't really do anything, these were added mostly for symmetry and some slight improvements to the queue count query that's currently non-dominating and will be called less frequently in the near future.