Correct output for nodedelete operation

removeNodeFromTree doesn't return anything, that's why the output of nodedelete operation is always wrong.