White-spaced condition exception

This is a fix for "Syntax error, unrecognized expression" exception
which is thrown when I use white-spaced condition, e.g.:
conditions: ['AND', 'OR', 'PART IN']

(This is a case when extended custom SQL semantic is used to build a
query)