Fixed another bug in total attendance filter