sales report: fix report class filtering under Pg 8.x, #24002