Bug fix for dds driver, internal array indexing offset by 1 in some location