ingredient-search infinite loop bug fixed.