Added more debug output from persistent db.