fixes seg fault when deleting features for already deleted nodes and edges