Potential fix for #236, trimming closing functions from groupByNode aliases