Fix node attribute check in default recipe