@v-jefferni, thanks for the feedback! Interesting. However, that didn't seem to solve. Still running this error:
InvalidTemplate. The execution of template action 'Filter_array' failed: The evaluation of 'query' action 'where' expression '@not(contains('(join(body(''Select''), '';'')', item()))' failed: 'The template language function 'contains' expects parameters of matching types: a dictionary and a key (string), an array and a value (object), or a string and a substring. The provided types 'String' and 'Object' are incompatible. Please see https://aka.ms/logicexpressions#contains for usage details.'.
Still wondering if this logic is off in filter array, or that I just don't understand what it's doing.
@not(contains('(join(body(''Select''), '';'')', item()))