Changes to error when taking attendance.