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)