Fix duplicate pages when attribution stamping.