Updated pointer

Pointer moves to the last checked element in the student list, instead of the last successful index