Elements in Space "TypeError: iteration over non-sequence of type FamilyInstance"

I have the same problem with the “Elements in room” node.