Made some code in option.h a bit safer
Made some code in option.h a bit safer

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