Fix caching of index maintainers on codec