E1S2: fixed an incorrect condition causing the miner defeat event to fire early