Bug fix when input nodes are disabled