Fix undefined index.
Add proper WHERE clause for relational Query, extending glueSQLCond.