How to change color only of selected objects in a matrix? I'm trying to exempt a couple of objects from being colored by an 'empty' which is coloring the cube matrix based on the distance.

In the image there are 2 empties: one is coloring the cubes blue, the orther coloring them red and offseting by X.


What could I do if I wanted those 3 selected cubes, not to be colored by the 'empty' object?
For coloring method I used roughly similar method as in here:
Color objects based on distance in Animation Nodes
You can use the List Boolean Operations node to removed the selected objects from your object list as follows: