Fix tc-apply to correctly generate expected ValueDots filters.

Closes PR 13649.