Fixes first_rank, your_rank