Fix check attendance. refs #202
Merge pull request #205 from ryysd/fix_check_attendance

Close #202