fixing the lenght check for arbitrary mfd
fixing the lenght check for arbitrary mfd


Former-commit-id: 03e7b22e75e7701c0dc7d7bca6d0123d22f1a318 [formerly 03e7b22e75e7701c0dc7d7bca6d0123d22f1a318 [formerly f4d05bb34f81ef71cd0bdd14d030f5afed4f5db5]]
Former-commit-id: 2e8552bb389b020ae735446e4ccc832bfe0dc572
Former-commit-id: 4cc6aeec2ac149d8ab87527e40fe42a59727b161
gem/oq-engine,gem/oq-engine,gem/oq-engine,gem/oq-engine,gem/oq-engine