I think you're creating some odd scoping issues here. You only get a new stack frame in a case statement if you declare a context in it with {}.  I think this instance of bool streaming is being used in the next case statement as well.

I'd either declare the contexts and redeclare the local for each, or just move the declaration to the top of the function.