[BUGFIX] Fix regression in prefixLocalAchors feature