Fix find-marked function.