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.
Looks like nothing changed in this line. Can you revert the changes in whitespace, to prevent unnecessary conflicts with upstream?