Corrected an issue where the advertising loop kicked in for non-shopping pages.