Fix User ranking logic for home page.