GEOT-4697: fixed some encoding issues for FES filters