Function findLastIndexAsync