Ensure priorities are strings.