Fix race in filter tests.
v1.2.1.