Fixed sql query escapes enumeration
Merge pull request #9 from m407/master

Fixed obvious error with escapes enumeration while building native sql query