Fixed the case when some TRT are discarded
Fixed the case when some TRT are discarded


Former-commit-id: 12e931bb87fbb47c61e8da9cf08e00305cb099ea [formerly 12e931bb87fbb47c61e8da9cf08e00305cb099ea [formerly 43f8090e7db137214e91cf5477831dedd9c24f3d]]
Former-commit-id: 3e9e25b32a50c95de811232921fd1dffe634d723
Former-commit-id: 2fdfcd6637e99e7e372a71ddce37e02c8773f101
gem/oq-engine,gem/oq-engine,gem/oq-engine,gem/oq-engine,gem/oq-engine