Fix wrong GROUP_BY on performance stats (bug 1010728)
Merge pull request #173 from yohanboniface/bug-1010728-performance-stats

Fix wrong GROUP_BY on performance stats (bug 1010728)