fix bug in dbs workflow completion query
Merge pull request #5027 from hufnagel/dbs_workflow_complete

fix bug in dbs workflow completion query (crashes TaskArchiver)