corrected calculate ranks for case of not unique schulze ranks