Fix overflow detection.