Accessing Global Variables after Running Collection via CLI

I just started using the CLI to run Collections. I can set global variables using the --global-var option when running the collection, and my Test script seems to be able to access and update the variables. However when the collection is over I cannot find the updated values using the web interface or UI (they appear blank). I can log the values to the console, however that is not ideal as it is messy and adds extra characters.

Hopefully I am overlooking something simple.

Details (like screenshots):

How I found the problem:

Things were working fairly well using the UI.

I’ve already tried:

I have checked the global variables using the web interface and the UI. I have tried the β€œPersist” option when using the web interface. Exporting just shows the same blank values.