Fix tags in filter rendering