Thanks for the reply Dan! Ah, using non-compact naming might do it!
Here is some script that I was working on to ride up the group chain and add it to the array.
function groupCheck(x){
try {
return thisProperty.propertyGroup(x).name
}
catch(err){
return false
}
};
fullgroup = [];
for (var i = 4; i > 0; i--){
if (groupCheck(i) != false && groupCheck(i) != thisLayer.name){
fullgroup.push(groupCheck(i))
}
}