Fix crash caused by incorrect caching of reuse identifiers array