Fixes a lifecycle issue with legacy lucene index extension for participating in recovery