Fixed fresh start issues introduced with database versioning.