Deletion of DELETE statements. Correction of the Error handling