Optimization for dropNode()

I added a little optimization for dropNode that seems to work well, especially on very large graphs. Thought you might be interested.