Fix encoding for LIS old search API