Resolved empty select sets not returning anything
start of WritePropertiesFile
WritePropertiesFile (continue...)