Fix the display of wrong ranks.