Test for blank node_attributes["group"], not empty

If node_attributes["group"] is nil, this would raise.