**Describe the bug** For the previous month ticket sales function, the filter should be applied on the ticket_sales_object. Follow up on #6287