fixup regression due to commit 59907ff7 "simplify em/strong routine"

use $closestMarkerIndex correctly