Fixed Issue #174 - sql parameters should be case-insensitive