Fixed Issues with local database seeding

What the summary says.