Reader for local variables fails

Created by: williamfgc

Interprets shape[0] = 0, when shape should be empty for local variables