Fix bug where new foods were not created in mongoApi