Fixes #64 issue on nested scoping in non local exists
Remove usage of the *block-counter* variable
Fix test