Added fix for comparing byte tensors