This should remove any possible problems relating to database modifications while iterators are active.