Invalid value for attendance_register