Fix background schema updates failing over a large upgrade gap.