Fix SQL errors when using a blob as a search criterion
Merge pull request #244 from devinmartin/master

Fix SQL errors when using a blob as a search criterion (Fix #243)