Fix: Properly detect length of string fields.