Fix rank and recommendation routes