Please, read my messages (and comments in the code).
That line in the code is to fix an issue with one of the test cases in the grader, you can find more about it in the forums here:
That “code” does nothing in most cases and has nothing to do with this issue.