Guard against an incorrect use of assert()
Guard against an incorrect use of assert()

afh/ledger,paulbdavis/ledger,duncanmortimer/ledger,afh/ledger,paulbdavis/ledger,ledger/ledger,duncanmortimer/ledger,afh/ledger,paulbdavis/ledger,jwakely/ledger,jwakely/ledger,duncanmortimer/ledger,ledger/ledger,duncanmortimer/ledger,afh/ledger,jwakely/ledger,ledger/ledger,duncanmortimer/ledger,jwakely/ledger,ledger/ledger,afh/ledger,paulbdavis/ledger,jwakely/ledger,paulbdavis/ledger,duncanmortimer/ledger,duncanmortimer/ledger,paulbdavis/ledger,jwakely/ledger,paulbdavis/ledger,ledger/ledger,jwakely/ledger