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