s4-winsrepl: don't put in attributes with no elements