Fix 1149270

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