Item modifier isnt working

I am using an item modifier to try and remove just one item from either the mainhand or offhand depending on which hand the item is used in but the item modifier isnt working

Continue to help post