If I create a debit, then subsequently create a credit on the same day, it lists the debit as posting before the credit in the transaction list, so it shows a negative amount for some accounts. Banks almost always post credits before debits if they fall on the same day, so I would expect to see the same reflected here.
It goes by entry order for same day items.