Fixed issue when saving a list of sub items in a mongoose model.