Fix check for lead_image.