Issue #217 fixes the scenario and code