Mideast trip a reminder elections have consequences