Fix the conditional for selecting a rank icon