Fixed the case of magnitude outside of supported range
Fixed the case of magnitude outside of supported range


Former-commit-id: 2d600f0f8b5485c1d43e68ecdc730ed9dc8c1cb0 [formerly 77f1966e5ac3344c166f65238dfa547d0887fcad]
Former-commit-id: dae4bffda791dbe70170d4fccda2ada62937ad36
gem/oq-engine,gem/oq-engine,gem/oq-engine,gem/oq-engine,gem/oq-engine