query builder bugfix for sqlite