Fix to included last element in reversed