Yes, but `self.task_xml[-1]` will not correspond to `self.task_states[-1]` if the student is not on the last step.