Fix results ranking.