Corrected a missed variable from previous name change

In line 53 changed J to currentNumber