Fix build of page_ids from tabs_added