References #2579: Fixed synchronize() so that selection doesn't shift when new columns are added.