Handle negative nodata values