fixed bug that was causing entities without properties to have two columns in csv