Fixing SourceCapture indexing