Validation: improved currency code comparison