fixed bug introduced when enhancing amber query that caused all queries to fail on mysql
fixed bug introduced when enhancing amber query that caused all queries to fail on mysql
Merge pull request #203 from nla/sc-query-fix

fixed bug introduced when enhancing amber query that caused all queries ...