changed query for last group match to all groups instead of just Group A
added check to disable ranking tips on last group match