Add prefix and suffix matching for strlist filter.