Fixed typos.
Fix for grabbing attributes of variables in groups.