Added ranking logic (excluding head-to-head)