Make delete a little safer.