fixed logical bug related to using a fake r_group; should use the real one in both cases in this comparison