Fix demodulation indexing. Should fix samplefile behavior.