Small changes to make db seeding work on heroku.