Corrected the last-n items' range request.