Added function to remove node/s with certain value1