[JobQueue] Fixed use of ipairs() in JobQueueRedis.

Change-Id: Id507c0a3dfaf8b1fde92eb99f7204e31775b042c
(cherry picked from commit 32d063ac2a7ebb75a86c44408f94a40fcf15cfa2)