Fix #77: tagWriteChildren error