Fixed bug #9442: SQL LIKE wildcards are not escaped correctly for list queries