Resolves #772 to allow access to inherited vars

Bubbles up the parent chain to see if an inherited variable should be
included when building the dot access list.