Fix problem with updating databases with old data.