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.
It was for (future) PEP8 validation; I can revert it if needed.