Fix assets unserialization from cache.