Fix error caching old versions