Maybe you intentionally did not program something in, but that fact that the martian walks out, blasts the item and then disappears, is in fact different than just removing th box.
Add to that the fact that with the corrupt box, he did not come out or do as he normally would have done, you may have created a "Feature" instead of a bug.
Maybe somewhere in this process variables, settings, etc. are being changed so that a corrupt box will delete.