Bug in Querybuilder

One of my custom fields contains values with a ’ (for
instance, O’Brother).

If you try to filter on that custom field, the query 

becomes:

AND custom_field LIKE 'O'

Which matches obviously more than what i want.

It seems to me the query builder should quote the custom 

fields values.

Pierre Blanchet.