BUG when using Up in a loop initialized with Up.var

See PHPUnit test.

Attempted quick fix wasn't good enough.
SSViewer_Scope stack logic and stack indexes are pretty complex and poorly documented in the code, which makes this fix a bit problematic...

Anyway, at least bug is obvious and repeatable.