Fixed bug with removeEdges!