I didn't have the option for "Item ID", I tried the other 3 options (value, body, body/value - item) that weren't the names for the rows of the table but each of them did the same thing.
In filter array enter: string(triggerOutputs()?['body/ID'])
In condition: empty(body('Filter_array'))
Tried using those as well from the original solution and still the same result either deleted all rows, or did nothing.