Fix broken IOP/amsmath compatibility.