Fix document seeding