Fix table filtering in the invoice page