Fix bug in Query.empty.
Added ColumnData.toString to handle string representation of NULL values.