Bugfix for JobUpdater

One of the queries was failing in Oracle, fix this. Also
make it more resilient to transient errors when talking
to ReqMgr.