Eliminate the use of static field to keep filters.

This helps with the situation where multiple Jenkins instances exist in memory (at the same time or at different times sequentially), such as during unit tests.