Add validation for attendance_id