Fixing language and source_capture indexing