LP#1775216: Stamping upgrade script for inconsistent copy counts