Fix pet loading from disk.