The "filter" control should check for truth.

Instead of checking for "true", check for true. Also includes a test to
verify that the change works.