Add optional filter to master