Fix crash if AI doesn't own a capital.