Mengkare is indulging in the most common cause of permanent death for archmages, testing novel Wish wordings. In his defense, he's cast more Wishes in his life than any archmage on Golarion, save perhaps Nex and/or Geb, and he's at least taking the obvious precautions like having Foresight up (a lot of explosions can be avoided if you Plane Shift out right before they happen and just make a new demiplane without ever going back to the old one).
Apparently this one won't harm him, because he did not get warned about it. He should have made one of his contingencies (the good Contingency, when he casts it, lets him have four of them at a time) be about this sort of situation.