Fixed error in ingredients controller