Add more check on request for deleting material