migration for ledger acct: fixed django query filter/get mistake.