Fix some broken indices

These indices basically did nothing since they put "id" first.

In particular this makes /job/…/all much faster.

Created by  Eelco Dolstra  on October 28, 2020
762ZKDT3MIPKV547IMOZHL75XDUNCVGSYSSHRXDLL4DWQCP4GKBAC
Change contents