Fix incorrect reference to first_index_of

Example uses first_index_of instead of last_index_of