Managed the case of no realizations
Managed the case of no realizations


Former-commit-id: b6ddcbb8223379737c91d1f468a3de200c7b39f0 [formerly b6ddcbb8223379737c91d1f468a3de200c7b39f0 [formerly 61cdc9ed85d9012f6b9bd49943f81a1f6e9c0830]]
Former-commit-id: ebf1679563c2c5699125c1c86bca51e3d3b75042
Former-commit-id: 34a6c4a9069ecd1996a8f3dd970ee01412f84ed4
gem/oq-engine,gem/oq-engine,gem/oq-engine,gem/oq-engine,gem/oq-engine