Revert the recursive delete error code