Don't add resource nodes with no properties to the list (fixes #7).