Fix #1538. Passing correct filter model to stripTerm.