KT-2105 lastIndexOf for arrays