Coerce user attributes to strings before checking that they are valid.

If the user attributes were defined as symbols, the validation would fail as it was expecting strings.