Fixes to database and seed process.