Chunk span bugfix