fixed invalid config key for notification options
GetNumPendingShipments can return nil - drycode fix, needs testing