Modified doDelete for null results