filter: filter segments with matching tags.