"All Elements of Subcategory"

I think that node is meant to be run in a family document. Are you by any chance running it in a project document?