Fix extraction of attendance record when there are linked accounts