Fixed data type errors when filtering integer column with LIKE statement

Tested on MySQL, PostgreSQL, SQLite, MS SQL Server and Oracle (http://sqlfiddle.com/#!8/cd1eb/1/0)
Merge pull request #23 from tortuetorche/patch-1

WIP: Fixed data type errors when filtering integer column with LIKE statement