Allow publish filtering to work with multiple values (using commas). Fixes #2290