Attendance marked as Half Day

Hi everyone,

Employee total working hours are 1.7 hours, and shift type is set to “4” for the Working Hours Threshold for Absent, but attendance is marked as “Half Day.” It should be “absent.” So I discovered that the lines below should be interchangeable. Please tell me anyone if this wrong.