fix Issue 1369 - getMember doesn't work for variables in aggregates
Merge pull request #1530 from 9rnsr/fix1369

Issue 1369 - getMember doesn't work for variables in aggregates