Fix ReadDiscreteInput.