fixed bug on empty result set with no wkt specified