consider entries on inactive journals for the general ledger report

On a customer's instance, the entries that used an inactive journal (before
it was deactivated) were not considered in the general ledger; this fixes
the behaviour.