Minor bug fix

Added code to normalize the variable $default_format before testing it's value, so that if the correct value is entered in the config file, but as lower-case text, the test won't improperly fail.