Fix capability upgrade issues for Attendance