Improve internal logic of Array#eLastIndexOf