Fix assume condition to take corruption of the checksum into account