[addressess #70407632] fix pagination bug for invoices