Fix for calculation of peer group comparisons