fix Resque::Failure:Redis#each id assign when reversed order

`Resque v1.25.2`
`resque-web` on the failure tab the job ids in the queue where miscalculated and the jobs where not correctly paged 

This fix issue #1172