Fix missing index key in prefix extractor example

Small typo for the iterator lambda in the prefix extractor example