Fixed the case of a single task
Fixed the case of a single task


Former-commit-id: 2d7dd8587ae96ff72e8c35889e10cb4cf009ec9e [formerly 2d7dd8587ae96ff72e8c35889e10cb4cf009ec9e [formerly 30d11f1d00eeccb09a44a5a64f08d2c99965a1a1]]
Former-commit-id: 993678a95c3459d80bc04db8c0b30c0e4ea1598a
Former-commit-id: 23c62da795307e13541e8725ed616ccad201a1e0
gem/oq-engine,gem/oq-engine,gem/oq-engine,gem/oq-engine,gem/oq-engine