Encoded filtering

- Fixed, not encoding filter values results in incorrect data filtering.