Business logic for the ReportFilter and more stuff