Fix issue with dynamic deps in obj[key]

The expression `object[key]` has dynamic deps because when `key`
is 'abc', the value of `object.abc` needs to be observed.

Fixes #29
Merge pull request #30 from arv/item-index

Fix issue with dynamic deps in obj[key]