Fixed a bug that prevented filtering in the attendance module