Fix checksum handling in inmemoryrepl scenario