Fixed is_valid_loss_ratios
Fixed is_valid_loss_ratios


Former-commit-id: 96022f4c10392f771cc95cf3e1d6842352a34e9c [formerly 0e439455c8cb10243f2a75fbb3664449001ed522]
Former-commit-id: ff9b1af49e915951f3c19a984eac8c1a638a7159
gem/oq-engine,gem/oq-engine,gem/oq-engine,gem/oq-engine,gem/oq-engine