fixed a comparison in the datacube chisel