fixes #1371, additional fixes to seed script
Merge branch 'master' of github.com:r888888887/danbooru