[fix bug 918513] Distinct group search results.
Merge pull request #621 from glogiotatidis/918513

[fix bug 918513] Distinct group search results.