Fixed the always updating to version 3 database.