Always check for references when running node:remove

- Help prevent transaction failure when calling save
- Also allow the removal of node by UUID