Package deletion logic working