I am not sure why this occurs either, it only appears that after the assignment, `old_loop_target` and `loop_target` are both referencing the same variable, causing the next line to set both variables as None.