Fixed failing GenericSqlTest