FIX $limit would never be set to -1

Fixed $limit from being improperly set to 0 before the $toDo value was
set, making the unlimited option completely useless