While Brexit and Trump's win went against the popular mood, victories against ISIS were welcome news