Support other value types in EqualityFilter

Some comparison engines will override the filter value to one of a
custom type (such as a boolean) for later evaluation.