Fixed DRVT node expansion bug and added selection logic for node deletion