Fix LZ decoder bug