Fix bug where node attributes aren't picked up.