Fix bug that prevented automatic detection of finished executions.
Fix bug that prevented automatic detection of finished executions.

DistributedSystemsGroup/zoe,DistributedSystemsGroup/zoe,DistributedSystemsGroup/zoe,DistributedSystemsGroup/zoe,DistributedSystemsGroup/zoe