Fixed TypeError
Fixed TypeError


Former-commit-id: ae4ea163180acaff5585310ecea43406b9ffdb86 [formerly ff17b67fd4fc00eac578e7b24c80c6c3c2012ca7]
Former-commit-id: 4ecb6d1ace768a107fdf13eed49dbd85080a7a62
gem/oq-engine,gem/oq-engine,gem/oq-engine,gem/oq-engine,gem/oq-engine