Fix issue with dynamic deps

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

Fixes #29