fix "overtaking" when updating a person's rank
update tied rank unit tests
fix SA unicode warning in unit tests