Fix handling of missing name property