Fixed CDI error indexing contents.