[fix bug 1030673] Fix common skills calculation for each group.
Merge pull request #1093 from akatsoulas/1030673

[fix bug 1030673] Fix common skills calculation for each group.