Fixed issue in LocalReferenceFinder.