Elements in View(s) node selects all rooms in model


I have set up a script to select rooms in a view, I have applied a scope box to that view but the Elements in View(s) node seems to select all Rooms in the model. Is there a problem with my view settings or is this because I am selecting a Category after the elements.

Sorrry was so simple-