#3405567: Fix "TypeError: Cannot access offset of type string on string" when uses wrong order of the fields
Closes #3405567