Fixed an NPE when cleaning out orphaned transactions from a prior jGnash bug