Fixed deletion of an item if the file to attach can't be ingested during an update.