Refined isFailure

added more logic to isFailure to check that we haven’t added
unnecessary ingredients to our recipe