Expose bug in lexical scoping of procedure parameter names.
Fix lexical scoping bug.