Remove spurious backslash.
Simplify that adjust_ranks call.
Add a test for pre-existing users with no cached rank.