Fixed Node.removeInput method