Fixed bug on new from bad replacement, bigger test db.