handle operators in any case in the SQL expressions
Merge pull request #2308 from imnotjames/hotfix/database-field-is-null

handle operators in any case in the SQL expressions