Console is a liar

Not really, but it shows the current state of an object in the
expansion.  Not what it was at the time.  Try not to print objects to
console, but textualize the info you want.