Fix typing for checksum while checking if PKM is modified