fix result types of raster query