escape_wildcard_string() fix wasn't committed.

Signed-off-by: Norv <a.w.norv@gmail.com>
Merge pull request #542 from norv/db_fix

escape_wildcard_string() fix wasn't committed.