Add the highlighted nodes shown in the image below, location at the top of the image.

The highlighted nodes shown in the image below can be deleted.

Next go to the BP_MasterInventory and in the ItemDecay function create a new local variable called CookingSlotL and set its type to Boolean, then compile and make sure its Default value is ticked off.

Add the highlighted nodes shown in the images below, locations at the top of the images.

Note – make sure you connect the Cast Failed to the input of the Branch node!