Only skip deletions on IOERR_GENERAL. Fixes bug 7809.