Fixed a problem where certain nodes (who have a space in their IDs) would not be deleted from the graph.