Fixed the discard feature [demos]
Fixed the discard feature [demos]


Former-commit-id: 0b2cd448cbc6596422483b15f32a772ab5c2117e [formerly 0b2cd448cbc6596422483b15f32a772ab5c2117e [formerly e918469fd686048e3261f1930a8fd8bc6cb422d4]]
Former-commit-id: ddfde894c32935fb93782219471cc62c70ae9107
Former-commit-id: a334829feb5735f107f6efef2316f136b0567f42
gem/oq-engine,gem/oq-engine,gem/oq-engine,gem/oq-engine,gem/oq-engine