specify precedence when setting node attribute

Please review and make sure the use of "default" precedence makes the most sense here.