Filtering include and exclude patterns