Fix being code-capped in decompress and the check for known code