Fixed bug with rankings, mode 1.