Issue 1230/multi failuire backend regression

Fixes a few bugs around multi failure queue functionality:

Re-queueing/deleting a failed job uses the wrong index and wrong queue.
Failure overview page queue links broken.
Re-queueing/clearing all failed jobs doesn't work for all failure queues, only the failed queue.