fixed crash with hasAd and the legacy ad provider
Merge pull request #2 from scopely/has-ad-fix

fixed crash with hasAd and the legacy ad provider