Attempt to fix timing issues with filter tests.