Fixed parsing so that group names are actually parsed
Tested group_by_name()