Fixed bug when moving stories from files to MongoDB