Bugfixes

db in shards should now work properly
Bug fixes