Fix a problem with getString when the string property is a sub-property.