fix bug 1030218 - group by reason for correlations
Merge pull request #2145 from rhelmer/bug1030218-group-correlations-by-reason

fix bug 1030218 - group by reason for correlations