If H hadn’t destroyed the box unsealing the spirit wouldn’t E then not end up making another wish? Did H screw himself in anger or am I misunderstanding the situation?