Add team ranking and relays fix