[BUGFIX] Initialize $currentR in analyseTypoLinks