Fixed problem with 1's complement checksum.