further scope misidentification fixes

There was one case I missed. The code below does not reference any global variables:

```lua
do
	local a = {}
	function a.b()
		-- ...
	end
end
```

This patch should fix #4 for good.