Fixes #2499: Nodes/edges are now immediately removed after selecting the cut option.