Fix printRankings