Fixes for #865 UPS/USPS notices

And used (bool) to guarantee the USPS modifications are evaluated as
boolean.