Fixing a bug preventing user profiles to be displayed when switching rankings