Fix 1144741

Addresses https://bugs.launchpad.net/openquake/+bug/1144741