Ranks now working as expected.