Fixed the indexing for adding chunks without matches