Do not depend on set order (assumes object insert order is the same as the passed-in list).
Do not depend on set order (assumes object insert order is the same as the passed-in list).


Former-commit-id: 787ec6a615e9dcc8a214217f75bda454c7f6bc0c [formerly 787ec6a615e9dcc8a214217f75bda454c7f6bc0c [formerly 50bd7faccc2959b8d4214eff4fe3a830d296b73a]]
Former-commit-id: af30aa4e862115078340a9002c329776b9895634
Former-commit-id: 48966da7dc36e934ee6bb9bff12ce9860f4361fa
gem/oq-engine,gem/oq-engine,gem/oq-engine,gem/oq-engine,gem/oq-engine