property.set_key() bugfix, fix some formatting

property.set_key() will ignore childless properties when searching for
matching paths