Fix for the case of empty SES

See https://bugs.launchpad.net/oq-engine/+bug/1327475