Remove reference to an undefined variable

$stopAt is not defined
Merge pull request #1128 from mlocati/patch-80

Remove reference to an undefined variable