Fixed possible issue: the WHERE condition can be lost while converting query to SQL
This can be seen in Kexi Query Designer.
FIXED-IN:3.0.2