Ties go to the later task_state. (That's why idx is in the `states_score_key` response)