We need strict parsing in apply_affinity_char() to avoid transforming non-numeric values (for example, "1a") into numeric values.