Fixed a wrong index bug when editing a student