Fix saving of edited property_code.