Fixed missing check on delete.
Fixed missing check on delete.

LinDA-tools/LindaWorkbench,LinDA-tools/LindaWorkbench,LinDA-tools/LindaWorkbench,LinDA-tools/LindaWorkbench,LinDA-tools/LindaWorkbench,LinDA-tools/LindaWorkbench,LinDA-tools/LindaWorkbench