Changes in CompareRanks class