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.
Merge pull request #4700 from dballesteros7/patch-JobUpdater

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