Fixes #368

Avoids the false positives listed in #368 and passes all tests.
It's not covered within that suite of tests. This one checks that the member access operator in `var bar = foo[0];` isn't throwing a false-positive.