Correctly handle updates during unique index population.