Fix ranking pagination