Yes. Expand the forEach code block and test the Item type before sending commands.Example of this kind of thing