Fix unicode in query fields