Fix array indexing for cbk generation
Fix array indexing for cbk generation

neuschaefer/libgpod,hyperair/libgpod,neuschaefer/libgpod,hyperair/libgpod,neuschaefer/libgpod,hyperair/libgpod,neuschaefer/libgpod,neuschaefer/libgpod,hyperair/libgpod,hyperair/libgpod