Voting and foreign policy