fix for #673, #706 - thanks @JanRR for analysing and @vores8 for providing the fix
Merge pull request #818 from teichsta/label-for-active-groups

fix for #673, #706