batches: ensure we hit an index when listing conflicting specs
Created by: LawnGnome
We already had an indexed, denormalised field here. We just weren't using it.
Hopefully helps with sourcegraph/customer#953.
Test plan
We have good unit test coverage here.