Fixed BlockEndingAd example.