Fixes problem with mongo db saving during seed