Fixed removeVertex() completely.