Fix for delete logging.