Fixed bug when registering students assistances.