@ustk apparently it has to do with transferring an array reference. I tried this
local newValue = scribeData.clone();
instead of this
local newValue = scribeData;
And now it works (the old value is properly being retrieved)...
But I am not quite sure why as I am lost in the puzzle of how the array references operate in this case.