small bug fix to job status check (it was displaying false failures)
small bug fix to job status check (it was displaying false failures)


Former-commit-id: 3a145c0c007756aa9389c8e9528c6c97c0893c13 [formerly b3ef11e36fc40ee45f40957bd32f045e76008bac]
Former-commit-id: 3aaa2f736f4bad85f2a7b71079c1fb2e2c36064f
gem/oq-engine,gem/oq-engine,gem/oq-engine,gem/oq-engine,gem/oq-engine