Fix AI stopping on second-last node