Fix possible crash in PropertyEnumeration class
Fix typo