Updated for bs page.id hack because of double publishing.