tidy up validation for currency configuration.