In the query for "node_degree", there was a typo that did not match the workspace of the edges, but only of the nodes.