Hi! Hope someone can help me, been struggling for days. I am trying to make an event that will check if an object already exist within an array based on an item_id, delete it if it exist or append it if it does not. The purpose is to collect all items that are selected in an array that will be sent in the body of an api. I am not sure if this is even the best way to do it or not. Any help or feedback is greatly appreciated! Added a screenshot of my current formula. I am able to append and delete, but the deletion is super random and not the element I clicked..