Fix a bug in choose_people