Fix database auto seeding