Edit selectPropertiesField to deal with the possibility of no properties