Fix issue where node attributes are not available.