Rankings bug fix