Fixed EZP-19684: Search engine doesn't handle curly quotes correctly (part 2)

Previous fix (PR: https://github.com/ezsystems/ezpublish/pull/507) didn't solve the problem completely.