Fix error string when editing one node

We were using the error string from the list of nodes, which requires a
variable.