Fix: Failed to upload aggregate stats in MODE_BOTH_DEBUG.