Modify node deletion mechanism

After unfortunate MATLAB crash :(
Delete unnecessary line