Fix reset orgs
reset_orgs function now has two cases for a valid and nil ledger. It will append the entry to the ledger if it exists, or create a new ledger if it doesn't. This should fix the error where the /reset command crashes the server if one of the orgs being purged has a nil ledger.