I have
var $set = $(\'.foo,.bar\').filter( function() {return $(this).parents(\'.baz\').length < 1;});
as a way to select all the el
Add a :not('.baz') to your top level selector.