[FIX] Fix for error on invoice validation using account_invoice_sequence