Fixes re-weaking a variable inside a block
Merge pull request #1 from Lascorbe/master

Fixes re-weaking a variable inside a block