Investors clung on to fragile assumptions that the war in the Middle East might not last as long as initially expected.