init_ads_entry(): Fix comparison