Sent sm_id only when needed
Sent sm_id only when needed


Former-commit-id: fde5224e3d755924dee4d0acd78babb98396568e [formerly fde5224e3d755924dee4d0acd78babb98396568e [formerly b6ee82fce8c07cdc07781d48ca3d62025ecf8bdc]]
Former-commit-id: 0d0fb19dee6f0169a42d52444c5a8e1e4c6f7bc1
Former-commit-id: ef0e33890ebab5a5af52b6783f5fbede7663166c
gem/oq-engine,gem/oq-engine,gem/oq-engine,gem/oq-engine,gem/oq-engine