Removed active flag check from Attendance By Date query