pagination fix for attendance list