Fix #348: Device inventory slots were not being zeroed out on dismantle