[23497] Fix bug 653594 related to check printing.
This bug has two parts.  The original bug was that the wrong split is sometimes
used to print the check.  In the comments a second problem was mentioned:
sometimes the wrong split is omitted from the split list in formats that print
all the splits.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/2.4@23512 57a11ea4-9604-0410-9ed3-97b8803252fd