Fix ByteArrayComparer to handle corner markings