Fix overflow check.